// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// the compiled file.
//
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
// GO AFTER THE REQUIRES BELOW.
//
//= require jquery
//= require jquery_ujs
//= require_tree .

function best_fit_success()
{
	alert("Best Fit Search Successfull, Match Found");
}
function best_fit_fail()
{
	alert("\t\t\tMatch NOT Found!\n Try Browsing for an Image or uploading your own");
}
function empty_best_fit_form_error()
{
	alert("\t\t\tERROR!!\nMust Enter in a Server Name and Model then press the 'search' button ");
}
function empty_upload_path_error()
{
	alert("\t\t\tERROR!!\nFile Path was NOT Specified ");
}
function highlight()
{
	var element = $('<%= action %>');
	if( element != null){
	  element.style.color = "#FFFFFF";
	  element.style.border = "1px solid #65a0cf";
	  element.style.backgroundImage = "url(/images/select_hover.jpg)";
	}
}